package com.tedu.ivos.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

@Data
@Validated
public class UserLoginParam {
    @NotNull
    @ApiModelProperty(value = "用户名", required = true,dataType = "String", example = "admin")
    private String username;
    @ApiModelProperty(value = "密码", required = true,dataType = "String", example = "123456")
    private String password;
}
